$(function() {
	var ctx = '/config';
	App.config = {
		'ctx': ctx,
		'home': {
			url: '/#'
		},
		'varIndex': {
			url: ctx + '/var/index.htm'
		},
		'varEdit': {
			title: '配置变量',
			url: ctx + '/var/edit.htm'
		},
		'varResult': {
			title: '配置变量推送',
			url: ctx + '/var/result.htm'
		},
		'projIndex': {
			tabs: [{
				code: 'configVarPl', title: '配置变量',
				auth: 'config.var.index',
				render: function(p, c) {
					App.show({
						ctx: 'config',
						action: 'varIndex',
						params:  c.params 
					}, $.noop, p);
				}
			}]
		}
	}
});